package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.LiveProduct;
import com.ytjj.qmyx.mall.model.LiveProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LiveProductMapper {
    long countByExample(LiveProductExample example);

    int deleteByExample(LiveProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LiveProduct record);

    int insertSelective(LiveProduct record);

    List<LiveProduct> selectByExample(LiveProductExample example);

    LiveProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LiveProduct record, @Param("example") LiveProductExample example);

    int updateByExample(@Param("record") LiveProduct record, @Param("example") LiveProductExample example);

    int updateByPrimaryKeySelective(LiveProduct record);

    int updateByPrimaryKey(LiveProduct record);
}